/*
 * alesmana
 */

package databeans;

import helper.Formatter;

import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.Locale;


public class Position {
    
    //public static final DecimalFormat sharesDf = new DecimalFormat("#.###", new DecimalFormatSymbols(Locale.US));
    
    private int customerID = -1;
    private int fundID = -1;
    private long shares = 0000;
    
    

    public Position() {
        customerID = -1;
        fundID = -1;
        shares = 00;
    }
    
    public Position(int custID, int fundID, long shares) {
        this.customerID = custID;
        this.fundID = fundID;
        this.shares = shares;
    }


    public int getCustomerID() {
        return customerID;
    }


    public int getFundID() {
        return fundID;
    }


    public long getShares() {
        //return Double.parseDouble(Formatter.sharesDf.format(shares));
        return shares;
    }


    public void setCustomerID(int customerID) {
        this.customerID = customerID;
    }


    public void setFundID(int fundID) {
        this.fundID = fundID;
    }


    public void setShares(long shares) {
        //double setShares = Double.parseDouble(Formatter.sharesDf.format(shares));
        this.shares = shares;
    }





}
